package com.muyi.pojo.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class PaperDTO {

    @TableId(type = IdType.AUTO)
    private Integer paper_id;

    /**
     *
     */
    private String paper_title;

    /**
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date publish_date;

    /**
     *
     */
    private Integer view_count;


    private List<Integer> tagIds;
}
